@charset "utf-8";

/* 群组选择器 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
input,
textarea,
select {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

img {
    vertical-align: top;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "微软雅黑", "宋体", Arial;
    font-size: 12px;
    line-height: 2;
}

i {
    font-style: normal;
}

/* 实现单行省略 */
.s1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.s2 {
    /* 旧版弹性布局 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

.s3 {
    /* 旧版弹性布局 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}

/* 清除浮动  写在父元素上面 */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}



/* input{
    border: 0;
    background: rgba(0,0,0,0);
} */

textarea {
    resize: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

input,
textarea,
select {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

/* 属性选择器 */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
}


html {
    /* 为了实现适配 */
    font-size: calc(100vw / 7.5);
}

body {
    /* 让所有的字体大小去继承body的字体大小 */
    font-size: .24rem;
}

* {
    box-sizing: border-box;
}